package jmu.zzh.alumnus.user.mapper;

import jmu.zzh.alumnus.user.entity.Class;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassMapper {
    List<Class> selectAll();
    List<Class> selectByCollegeAndYear(@Param("collegeCode") String collegeCode, @Param("year") Integer year);
    Class selectByCodeAndYear(@Param("classCode") String classCode, @Param("year") Integer year);
} 